- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  Dashboard_REST_Controller 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											90 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											961 | 
										
																			
											| Lines of code | 
											567 | 
										
																			
											| Logical lines of code | 
											192 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											288 | 
										
																			
											| Methods | 
											39 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 39
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| register_rest_routes() | 
									A  | 
																	28  | 
													2 | 
													240 | 
							
					
				| add_prices_in_posts() | 
									A  | 
																	46 | 
													12 | 
													35 | 
							
					
				| get_blaze_posts() | 
									S  | 
																	53 | 
													7 | 
													22 | 
							
					
				| upload_image_to_current_website() | 
									S  | 
																	47 | 
													6 | 
													36 | 
							
					
				| get_dsp_blaze_posts() | 
									S  | 
																	56 | 
													7 | 
													18 | 
							
					
				| request_as_user() | 
									S  | 
																	49 | 
													6 | 
													31 | 
							
					
				| get_blaze_error() | 
									S  | 
																	56 | 
													4 | 
													18 | 
							
					
				| build_subpath_with_query_strings() | 
									S  | 
																	60 | 
													4 | 
													14 | 
							
					
				| can_user_view_dsp_callback() | 
									S  | 
																	67 | 
													3 | 
													9 | 
							
					
				| add_warnings_to_posts_response() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| edit_dsp_generic() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| is_user_connected() | 
									S  | 
																	69 | 
													3 | 
													7 | 
							
					
				| get_dsp_generic() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| get_dsp_media() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_dsp_site_campaigns() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| are_posts_ready() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| get_dsp_openverse() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_credits() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_experiments() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_campaigns() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_dsp_stats() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| edit_dsp_stats() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_dsp_search() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_user() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_templates() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_subscriptions() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_payments() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_dsp_smart() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_locations() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_woo() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_image() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| edit_wpcom_checkout() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| edit_dsp_campaigns() | 
									S  | 
																	73 | 
													1 | 
													4 | 
							
					
				| edit_dsp_subscriptions() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| edit_dsp_payments() | 
									S  | 
																	73 | 
													1 | 
													4 | 
							
					
				| edit_dsp_logs() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| edit_dsp_smart() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_forbidden_error() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| get_site_id() | 
									S  | 
																	81 | 
													1 | 
													3 |